// 列表每列
export const listColumns = [
  { title: '渠道账号', dataIndex: 'username', slotName: 'username' },
  { title: '同步人', dataIndex: 'syncStaffName' },
  { title: '同步方式', dataIndex: 'typeName', width: 90 },
  { title: '开始同步时间', dataIndex: 'startTime', width: 190 },
  { title: '完成同步时间', dataIndex: 'endTime', width: 190 },
  { title: '同步状态', dataIndex: 'statusName', slotName: 'statusName' },
  { title: '订单同步的时间范围', width: 340, dataIndex: 'orderSyncTimeRange' },
  { title: '同步订单数', dataIndex: 'syncCount', width: 100 },
]

// from
export const formRules = {
  otaChannel: { required: true, message: '请选择', trigger: 'change' },
  channelNum: { required: true, message: '请选择车型', trigger: 'change' },
  syncPerson: { required: true, message: '请选择取车门店', trigger: 'change' },
  syncWay: { required: true, message: '请选择', trigger: 'change' },
  syncState: { required: true, message: '请选择车型', trigger: 'change' },
  syncStartTime: { required: true, message: '请选择开始同步时间', trigger: 'change' },
  syncEndTime: { required: true, message: '请选择完成同步时间', trigger: 'change' },
}
